


import 'package:flutter/material.dart';
import 'package:moonplay/common/app_common.dart';

class FeedBackPage extends StatefulWidget {
  @override
  _FeedBackPageState createState() => _FeedBackPageState();
}

class _FeedBackPageState extends State<FeedBackPage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: commonAppbar(context, title: '意见反馈', listActions: _listActions()),
    );
  }

  List<Widget> _listActions(){
    List<Widget> _list = [];
    Widget _addWidget = GestureDetector(
      behavior: HitTestBehavior.translucent,
      onTap: (){
        print('提交');
      },
      child: Container(
        width: ScreenUtil().getWidthPx(100),
        height: ScreenUtil().getWidthPx(88),
        alignment: Alignment.center,
        child: Cptext(text: '提交', style: TextStyle(color: Theme.of(context).hoverColor),)
      ),
    );
    _list.add(_addWidget);
    return _list;
  }
}